using System.Text.Json.Serialization;

namespace Acme.MeiTuan.SDK.Response.Order;

[JsonNumberHandling(JsonNumberHandling.AllowReadingFromString)]
public class OrderRefundDetailResult
{
    /// <summary>
    /// 
    /// </summary>
    public long refund_id { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public long order_id { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public long wm_order_id_view { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public long ctime { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public long utime { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public int refund_type { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string res_reason { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public int res_type { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public int apply_type { get; set; }
    /// <summary>
    /// 商家错送、漏送500ml的可口可乐没给我。
    /// </summary>
    public string apply_reason { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public decimal? money { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string pictures { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public int service_type { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public int status { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public int apply_op_user_type { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string logistics_info { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public int incmp_code { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public List<string> incmp_modules { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public Refund_partial_estimate_charge refund_partial_estimate_charge { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public List<WmAppRetailForOrderPartRefundListItem> wmAppRetailForOrderPartRefundList { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string item_id { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string wm_food_id { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string app_food_name { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string app_food_code { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string refund_weight { get; set; }
}

[JsonNumberHandling(JsonNumberHandling.AllowReadingFromString)]
public class Refund_partial_estimate_charge
{
    /// <summary>
    /// 
    /// </summary>
    public decimal? total_food_amount { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public decimal? box_amount { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public decimal? activity_poi_amount { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public decimal? activity_meituan_amount { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public decimal? activity_agent_amount { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public decimal? platform_charge_fee { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public decimal? settle_amount { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string productpreferences { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string not_productpreferences { get; set; }
}

[JsonNumberHandling(JsonNumberHandling.AllowReadingFromString)]
public class Retail_refund_partial_estimate_charge
{
    /// <summary>
    /// 
    /// </summary>
    public decimal? total_origin_price { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public decimal? total_activity_price { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public decimal? total_reduce_price { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public decimal? total_poi_charge { get; set; }
}
 
[JsonNumberHandling(JsonNumberHandling.AllowReadingFromString)]
public class WmAppRetailForOrderPartRefundListItem
{
    /// <summary>
    /// 
    /// </summary>
    public string app_food_code { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string app_spu_code { get; set; }
    /// <summary>
    /// 可口可乐汽水500ml
    /// </summary>
    public string food_name { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string sku_id { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string spec { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public int count { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public decimal? box_num { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public decimal? box_price { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public decimal? food_price { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public decimal? origin_food_price { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public decimal? refund_price { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public decimal? refunded_weight { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string upc { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public Retail_refund_partial_estimate_charge retail_refund_partial_estimate_charge { get; set; }
}